package com.web.exiaodao.business.service;

import java.util.Map;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import com.web.exiaodao.business.entity.InsHotelRoomsTable;
import com.web.exiaodao.remote.vo.InsHotelRoomsTableVo;
import com.web.webstart.base.exception.BusinessException;
import com.web.webstart.base.service.BaseServiceInterFace;
import com.web.webstart.base.util.result.XaResult;

public interface InsHotelRoomsTableService extends BaseServiceInterFace<InsHotelRoomsTable>{
    /**
     * 更新库存
     * @return
     * @throws BusinessException
     */
    void updateHotelRoomsStockNum() throws BusinessException;
    /**
     * 根据机构编码查询酒店房间
     * @Title: findInsHotelRoomsListById 
     * @param modelId
     * @return
     * @throws BusinessException
     */
    public XaResult<Page<InsHotelRoomsTableVo>> findInsHotelRoomsListById(Integer status,Map<String,Object> filterParams,Pageable pageable,Long modelId) throws BusinessException;
}
